package com.ruoyi.procurement.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 物品库存对象 ps_goods
 * 
 * @author ruoyi
 * @date 2023-10-10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName(value = "ps_goods",autoResultMap = true)
public class PsGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.ASSIGN_ID)
    private String goodsId;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String goodsName;
    //物品标准id
    private String goodsTypeId;

    /** 物品类别 */
    @Excel(name = "物品类别")
    private String goodsType;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private BigDecimal goodsNum;

    /** 数量单位 */
    @Excel(name = "数量单位")
    private String goodsUnit;

    /** 图片 */
    @Excel(name = "图片")
    private String goodsUrl;

    @Excel(name = "单价")
    private BigDecimal goodsPrice;

    /** 物品描述 */
    private String goodsDesc;
    //产品规格
    private String pstSpecification;

    /** 删除标志 0存在 2删除 */
    private String delFlag;

}
